package cn.java79.springboot.ctrl;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author oldliu
 * @since 1.0
 */
@RestController
@RequestMapping("nihao")
public class HelloController {
    @GetMapping("sayhi")
    public String sayhi(){
        return "hello,spring boot";
    }
}
